@extends('home.m.m1.public.public')

@section('content')
    <section class="met-news animsition ">
        <div class="container">
            <div class="row">
                <div class="col-md-9 met-news-body">
                    <div class="row">
                        <div class="met-news-list">
                            <ul class="met-page-ajax" data-scale='0.75'>
                                @if(!empty($infos))
                                    @foreach($infos as $value)
                                        <li class="">
                                            <div class="media media-lg">
                                                <div class="media-body">
                                                    <h4 class="media-heading">
                                                        <a href="{{ route('info',['new',$value['id']]) }}"
                                                           title="{{ $value['name'] }}" target='_self'>
                                                            {{ $value['name'] }}
                                                        </a>
                                                    </h4>
                                                    <p class="des">{{ subtext($value['simpledescribe'],40) }}</p>
                                                    <p class="info">
                                                        <span>{{ $value['time'] }}</span>
                                                        <span>{{ config('set.web_name') }}</span>
                                                        <span><i class="icon wb-eye margin-right-5"
                                                                 aria-hidden="true"></i>{{ $value['page_view'] }}  </span>
                                                    </p>
                                                </div>
                                            </div>
                                        </li>
                                    @endforeach
                                @else
                                    <div class="noinfo">暂无资料!</div>
                                @endif
                            </ul>
                            <div class='met_pager'>
                                {{ $infos->links() }}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection